﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyCHTrangSuc
{
    public partial class frmHinhAnhMinhHoa : Form
    {
        private string _hinhAnh;

        public frmHinhAnhMinhHoa()
        {
            InitializeComponent();
        }

        public frmHinhAnhMinhHoa(string hinhAnh)
        {
            InitializeComponent();
            _hinhAnh = hinhAnh;
        }

        private void frmHinhAnhMinhHoa_Load_1(object sender, EventArgs e)
        {
            this.pictureHinhAnh.Image = Image.FromFile(_hinhAnh);
            XL_DO_HOA.SetImage(this.pictureHinhAnh);
        }
    }
}
